package com.ftg.learn.chapter13;

public class Lang extends Dog{
        langAge age1 = new langAge();
        String name = "西伯利亚狼";
        String age = age1.Age("雄");






}

class langAge{
    public String Age(String age){
        if(age.equals("雌")){
            return "雌性";
        }else {
            return "雄性";
        }
    }
}